package ${moduleName}.${package}.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

<#if hasBigDecimal>
import java.math.BigDecimal;
</#if>
<#if hasLocalDateTime>
import java.time.LocalDateTime;
</#if>
import java.io.Serializable;
import lombok.Data;

/**
* ${comments}
*
* @author ${author}
* @date ${datetime}
*/
@Data
@TableName("${tableName}")
public class ${classNameFirstUpperCase}Entity implements Serializable {
    private static final long serialVersionUID = 1L;

<#list columns as column>
    /**
    * ${column.comments}
    */
    <#if column.columnName == pk.columnName>
    @TableId(type = IdType.AUTO)
    </#if>
    private ${column.attrType} ${column.attNameFirstLowCase};

</#list>
}